package com.qdu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Course;


public interface CourseMapper {
	
	Course selectCourseById(String id);
	
	boolean addCourse(@Param("Course") Course Course,@Param("acdmid") int acdmid);
	
	boolean modifyCourse(@Param("Course") Course Course,@Param("acdmid") int acdmid);
	
	boolean deleteCourseById(String id);
	
	List<Course> selectAllCourse();
	
	List<Course> selectCourseByacdmid(int acdmid);
	
	List<Course> selectCourseByKeyword(String keyword);
	
}
